#include "Firstgame.h"

void mainmenu()
{
	string playerName;
	int menuChoice;

	cout << "Welcome to Jungle Madness 1!" << endl << endl << "Hi there explorer! Please, tell me your name" << endl;
	cin >> playerName;

	do
	{
	cout << playerName << ", what do you wish to do?" << endl << endl << "1 - Start a new game" << endl << "2 - Check out my name" << endl << "3 - Exit" << endl;
	cin >> menuChoice;

	switch ( menuChoice )
		{
		case 1: 
			{
			system("cls");
			StartGame();
			break;
			}
		case 2:
			{
			cout << "My name is " << playerName << endl;
			break;
			}
		case 3:
			{
			cout << "Thank you for playing Jungle Madness 1!";
			Sleep(2000);
			break;
			}
		};
	}
	while ( menuChoice != 3);
};